#!/usr/bin/env python
#####################################
# Installation module for Joomlavs
#####################################

# AUTHOR OF MODULE NAME
AUTHOR="Gareth Darby (@gazcbm)"

# DESCRIPTION OF THE MODULE
DESCRIPTION="This module will install/update joomlavs - A black box, Ruby powered, Joomla vulnerability scanner"

# INSTALL TYPE GIT, SVN, FILE DOWNLOAD
# OPTIONS = GIT, SVN, FILE
INSTALL_TYPE="GIT"

# LOCATION OF THE FILE OR GIT/SVN REPOSITORY
REPOSITORY_LOCATION="https://github.com/rastating/joomlavs"

# WHERE DO YOU WANT TO INSTALL IT
INSTALL_LOCATION="joomlavs"

# DEPENDS FOR DEBIAN INSTALLS
DEBIAN="git ruby ruby-dev libcurl4-openssl-dev, liblzma-dev, build-essential, patch"

# DEPENDS FOR FEDORA INSTALLS
FEDORA="git,ruby,ruby-devel,libcurl-devel, liblzma-devel, build-essential, patch"

# COMMANDS TO RUN AFTER
AFTER_COMMANDS="cd {INSTALL_LOCATION},sudo gem install bundler && bundle install"
# ALWAYS RUN UPDATES
BYPASS_UPDATE="NO"

# LAUNCHER SHORTCUT
LAUNCHER="joomlavs"
